/* @(#)GSOrderDetailOfBusVO.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-3-18     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSOrderRefundDetailOfBusVO implements GSBaseBean {

    public String orderid;
    public String manufactureId;    	//产品编码
    public String manufactureName;  	//产品名称
    public String manufSpec;
    public String manufType;
    public String manufBrand;
    
    public String quantUnit;
    public String orderDetailStatus;
    public String orderCreateDate;  	//创建时间
    public String orderDeptId;      	//订货单位
    public String deliverMode; 		//配送方式
    public String banlanceMode; 		//结算方式
    public String deliverGoodsAddr; 	//送货地址

    public String conCentricityId; 	//集中编码
    public String orderDetailId;    	//订单明细编码
    public String orderDeptName;
    public double goodUnitprice;
    
    public String deliverGoodsTime;
    public String providerName;
    public String isTradeFlatManuf;
    public String providerId;
    public String isTradeFlatProvider;
    public double manufUnitprice;
    public String qualityAssurePeriod;
    
    public String linkOrderDetailId;	//相关订单号
	public double requestBackQty;		//退货申请数量	
	public String requestBackTime;		//申请退货时间
	public String requestBackPerson;	//退货申请人
	public String requestBackReason;	//退货申请原因
    public String disposeBackTime;     //退货处理时间
    public String disposeBackPerson;	//退货处理人
    public String disposeBackReason;	//退货处理意见
    public double alreadyBackQty;		//已退货数量
    public String disposeCancleReason;	//取消处理意见
    public String disposeCancleTime;	//取消处理时间
	public String disposeCanclePerson;	//取消处理人    
    
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSOrderRefundDetailOfBusVO tGSOrderVO = new GSOrderRefundDetailOfBusVO();
        tGSOrderVO.orderDetailId = aResultSet.getString("P1").trim();
        tGSOrderVO.conCentricityId = aResultSet.getString("P2");
        tGSOrderVO.manufactureName = aResultSet.getString("P3").trim();
        tGSOrderVO.manufSpec = aResultSet.getString("P4") == null? "":aResultSet.getString("P4").trim();
        tGSOrderVO.manufType = aResultSet.getString("P5") == null? "":aResultSet.getString("P5").trim();
        tGSOrderVO.manufBrand = aResultSet.getString("P6") == null? "":aResultSet.getString("P6").trim();
        tGSOrderVO.providerName = aResultSet.getString("P7") == null? "":aResultSet.getString("P7");
		//tGSOrderVO.requestBackQty = aResultSet.getDouble("P8"); 移到下面
        tGSOrderVO.quantUnit = aResultSet.getString("P9")== null?"":aResultSet.getString("P9");
        tGSOrderVO.goodUnitprice = aResultSet.getDouble("P10");
		//tGSOrderVO.requestBackTime = aResultSet.getString("P11") == null? "":aResultSet.getString("P11");  移到下面
        tGSOrderVO.deliverGoodsTime = aResultSet.getString("P12") == null? "":aResultSet.getString("P12");
        tGSOrderVO.orderDetailStatus = aResultSet.getString("P13") == null? "":aResultSet.getString("P13").trim();
        tGSOrderVO.orderid = aResultSet.getString("P14") == null? "":aResultSet.getString("P14");
        tGSOrderVO.isTradeFlatManuf = aResultSet.getString("P15") == null? "":aResultSet.getString("P15");
        tGSOrderVO.providerId = aResultSet.getString("P16") == null? "":aResultSet.getString("P16");
        tGSOrderVO.isTradeFlatProvider = aResultSet.getString("P17") == null? "":aResultSet.getString("P17");
        tGSOrderVO.manufUnitprice = aResultSet.getDouble("P18");
        tGSOrderVO.qualityAssurePeriod = aResultSet.getString("P19") == null? "":aResultSet.getString("P19");
        
		tGSOrderVO.linkOrderDetailId = aResultSet.getString("P20") == null? "":aResultSet.getString("P20");
		tGSOrderVO.requestBackQty = aResultSet.getDouble("P8");
		tGSOrderVO.requestBackTime = aResultSet.getString("P11") == null? "":aResultSet.getString("P11");		
		tGSOrderVO.requestBackPerson = aResultSet.getString("P21") == null? "":aResultSet.getString("P21");
		tGSOrderVO.requestBackReason = aResultSet.getString("P22") == null? "":aResultSet.getString("P22");
		tGSOrderVO.disposeBackTime = aResultSet.getString("P23") == null? "":aResultSet.getString("P23");
		tGSOrderVO.disposeBackPerson = aResultSet.getString("P24") == null? "":aResultSet.getString("P24");
		tGSOrderVO.disposeBackReason = aResultSet.getString("P25") == null? "":aResultSet.getString("P25");
		tGSOrderVO.alreadyBackQty = aResultSet.getDouble("P26");
		tGSOrderVO.disposeCancleReason = aResultSet.getString("P27") == null? "":aResultSet.getString("P27");
		tGSOrderVO.disposeCancleTime = aResultSet.getString("P28") == null? "":aResultSet.getString("P28");
		tGSOrderVO.disposeCanclePerson = aResultSet.getString("P29") == null? "":aResultSet.getString("P29");
		
        return tGSOrderVO;

    }

}
